package min.chapter.five;

import min.chapter.five.member.service.MemberService;
import min.chapter.five.member.service.UpdateInfo;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AdviceTypeAcqisition {
	public static void main(String[] args) {
		String[] configLocations = new String[] { "min/chapter/five/AdviceType.xml" };
		ApplicationContext context = new ClassPathXmlApplicationContext(
				configLocations);
		MemberService memberService = context.getBean("memberService",
				MemberService.class);
		memberService.update("minhaett", new UpdateInfo());
	}
}